package com.dsg.entity.coupon;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 派发油券资料
 * </p>
 *
 * @author system
 * @since 2020-07-25
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("dsg_coupon_send")
@ApiModel(value="DsgCouponSend对象", description="派发油券资料")
public class DsgCouponSend implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主鍵")
    @TableId("OID")
    private String oid;

    @ApiModelProperty(value = "企業編碼")
    @TableField("ENT_CODE")
    private String entCode;

    @ApiModelProperty(value = "申請單編號")
    @TableField("APP_NO")
    private String appNo;

    @ApiModelProperty(value = "油咭資料ID")
    @TableField("CARD_ID")
    private String cardId;

    @ApiModelProperty(value = "油咭編碼")
    @TableField("CARD_NO")
    private String cardNo;

    @ApiModelProperty(value = "油券類型")
    @TableField("OIL_POUPON")
    private String oilPoupon;

    @ApiModelProperty(value = "油券數量")
    @TableField("OIL_NUM")
    private Integer oilNum;

    @ApiModelProperty(value = "預計派發時間")
    @TableField("EXP_SEND_TIME")
    private Date expSendTime;

    @ApiModelProperty(value = "實際派發時間")
    @TableField("REA_SEND_TIME")
    private Date reaSendTime;

    @ApiModelProperty(value = "創建人")
    @TableField("CREATER")
    private String creater;

    @ApiModelProperty(value = "創建時間")
    @TableField("CREATE_TIME")
    private Date createTime;

    @ApiModelProperty(value = "更新人")
    @TableField("UPDATER")
    private String updater;

    @ApiModelProperty(value = "更新時間")
    @TableField("UPDATE_TIME")
    private Date updateTime;

    @ApiModelProperty(value = "核對狀態")
    @TableField("VERIFY")
    private Integer verify;

    @ApiModelProperty(value = "業務類型")
    @TableField(exist = false)
    private String appType;

    @ApiModelProperty(value = "客户编号")
    @TableField(exist = false)
    private String cusNo;
}
